Dataframe to file

df.to_csv(file_name, index=False, encoding=’utf-8′) index=False要加,不然讀的時候會多一排inde … 閱讀全文 Dataframe to file